<?php

class Publicidad extends MY_Model {

 
    function Publicidad()
    {
        // Call the Model constructor
        parent::MY_Model();
	
	$this->nombreTabla = "publicidad";
	$this->idT1= "idPublicidad";
	$this->nombreCampo="tamano";

		$this->campos[] = array("realname" => "tamano",
					"clase" => "text",
					"label" => "Tamano",
					"rules" => "required|min_length[3]|max_length[45]");
		
		$this->campos[] = array("realname" => "posicion",
					"clase" => "text",
					"label" => "Posicion",
					"rules" => "required|min_length[3]|max_length[500]|alpha_numeric_space");
		
		$this->campos[] = array("realname" => "precio",
					"clase" => "text",
					"label" => "Precio",
					"rules" => "required|numeric");
    }
     

 
}


?>
